package test;

/**
 * @author briarbear
 * @blog https://briarbear.github.io
 * @date 2018-09-05 15:24
 */
public class T11 {

    public static void main(String[] args){
        Other o = new Other();
        new T11().addOne(o);
        System.out.println(o.i);
    }

    public void addOne(final Other o){
        o.i++;
    }
}

class Other{
    public int i;
}
